package database.example.dao;

import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Comparator;

public interface InterfaceDao<T> {
	public void insertItem(T item) throws SQLException ;
	public void deleteItembyNo(T item) throws SQLException;
	public void updateItembyNo(T item) throws SQLException;
	public ArrayList<T> listItems() throws SQLException;	
	public T searchItem(T item) throws SQLException;
	public void prnItemList(Comparator<T> comp) throws SQLException;
}
